Put router in a seperate file