Create Energy.java