adds config parser, activates database filename var in config file