Creating the base controllers for the app