moved routes to a separated file