Refactored build process

* Resettable environment
* Concats and minifies libraries
* Other improvements