A package for crystal structure solution by direct methods and refinement