worked on mkdir, fixed a few bugs
cleaning up clear