Refactor urls to individual app