updating to use environment config file
adding debug support
updating docs
updating docs