Finished parser and created graph classes