Moved Biome business logic from controller to model