restructured resource directory