Improved log writing for #15
Added some comments to order creation for #15
Added needed constants and code for #16
Improved var names and install / uninstall methods for #16