Added some basic envelope calculations
Updated to envelope calculations
Added a simplejson config file example to work ...