added database model for routes