new bd in progress
fixed cpu usage (getevent sleep timer)
switch to new DB implementation
fixed cpu usage (getevent sleep timer)
switch to new DB implementation
fixed fault after help
fixed null cokkie string crash
added checking for zero  length for all mandatory json items
some minor fixes
Merged with new DB branch