add consensus script
removed offline APIs
Merge pull request #2 from faizkhan00/consensusScript

add consensus script