adding library json
MERGE IT OK
Merge pull request #62 from nikhan/daemon_arch

adding library route
moved all the stuff in NewBlock into hub.CreateBlock
tidying up after deleteing NewBLock