big part of functionality moved to Gorm