Flesh out functionality of parser object, need to write proper parsing of nodes