WIP First version of ESP lib