Added more of the request handing
Added the response object and also formalized the controller actions