added basic functionality, added search through document and highlight