altered api for config file manipulation; documented api
cleanup; fix --help