Directory Layer: refactored code that forwards commands to sub-partitions + fixed Remove and ChangeLayer to work accross partitions