Split mapper into various files for better organization

As part of GSOC 2014 we're refactoring the routing mapper.
This is one of the many PRs we'll open to integrate into Rails over the next 2.5 months
This needs to be refactored to look like our final organization
\cc @pixeltrix 
This class isn't inside the correct module