fixed 64 bit sub ID
64 bit fixes
modified ETInotify data structures
abstracted HTTP and JSON logic into classes