Initialize the resource Directory