Create EnergySource.java