WIP Cartridge Refactor

* Change env load order
* cleanup application_container#do_control