change package Energy-Transformer's api

and add missing enum