fixes #13, added flexible configuration support. Added support for
an application configuration file and added user-specific configuration files.