Implements removeDirectory - closes #4