Added Energy Classes with examples of inheritance