Creating controllers,routes and Listing resource