added config file, misc changes