Implemented the daemon for sql

Signed-off-by: Bert Hajee <hajee@moretIA.com>