Moving reciever registration to onstart
Adding JSON Library https://code.google.com/p/json-simple/