added team model and migrated to DB