Reorganized files. Refactored parsing paths. Added rmdir implementation.