change package Energy-Transformer's api

and add missing enum
Merge pull request #1 from Superloup10/master

change package Energy-Transformer's api and add missing enum