Use configparser for configuration and add support for multiple databases.