change namespace, accept single config object, etc

change namespace, change messages to accept a single config object, a few other things