added use statements and fixed statments that instantiate new classes
added a test for instantiating  Directory
removed "\src" from autoload stanza