added groups with their helper methods
moved helpers definition from routes to controllers
group methods defined in the current scope
Merge pull request #3042 from dropletzz/group_helpers

Helper methods for groups of mappings