Configured Store controller and added routes for the controller