Implemented directory.Navigator and its ChangeDirectory method.