Using config to setup the workspace directory, data dir and save path