Spork environment wrapper

* Fixes #100
* Consistency fixes