Moved routes to separate file