Add first attempt at optimizer

* Improves Marketplace optimization by ~1.5kb
* Improved grammar (performance improvements, compatibility)
+ Import statement basic support