added a config file to store the base dir & other settings in a single place