split code in classes and files