Moved routes to a separated file.