Created controllers for routes