Completed first iteration of baseline full parser. Debugging etc necessary.