Moved controller code to new breeder class