adding coreDir to the config
reorganizing the dir list
adding coreDir option
using coreDir option as part of the fetch rule