Implemented an Energy Component