implement configuration file loading

refs #4