Creating directory manipulator class