ORM applied to database. Deleted unnecessary files.