Moves classes to seperate files.