cleanup
split classes.php into multiple files and move them to the new core directory