migrates routes/rest to subapp apis