Implemented parsing of documents - parsed in Document has following members: name, user-set attributes & content