Optimal Fitness: Fitness Programs and Classes