Database Moved to Model