Added Readdir and a few other changes