Adding more support for modules.

Modules now have a flag to add routes, to save the user from having to
mount these themselves.