Added support for configuration files (fixes #9), updated dependencies.