moved config parse to function, put config defaults in place
removed current direct as config file location