Added dependency parsing, first fully running version