Add ability to autoload a config file. Fixes #438