Added a simple sample
Improved environments and builder code