Create Energy.cpp

Energy class definitions