SMS dit: First-Principles Prediction of Structures and Properties in Crystals