new resource directory implemented