Added helper methods & RESTful routes