some quick n dirty documentation added. Also updated the default values in the settings object