Transform genetic objects into a specific class object