split classes to files