Simplified config interface a bit

Also removed "getDictKeys" function
Cleaning up some utility code