Added support pdf doc

Started implementation of nodes' logic