Add REST routes for module subsystem.