Finished getDirContents and introduced bugged Event constructor code