add depenencies and barrowed code to readme