added a framework to support split settings between development and live. Closes #2