setting up controllers/class files