Added controllers and modified routes