added model for tag and routes in database