Directory class; three working levels