Moved module routes to module definitions