create resource directory