Moved config to separate dir.  Add more config code, leaving templates as todo.