move base files to a separate top-level dir, with new BaseDir setting