intelligent metadata lookup, working on recursive delete, need to fix tests