Structure of router & app