Separate routes from models