Took out main method in Directory.java