refactored mount command. started working on revert command