refactored config to support global, local and system
major cleanup, fixed the broken tests, renamed everything to be more rubyish