ensure that options are passed to globule from the config
updates tests, adds api documentation