framework for complex modeling and atomic structure optimization