Added separate api routes and reloaded namespace.