added basic document elements (lines and tokens)