Modular Calabi-Yau Threefolds In String Compactifications