Initial revision

Creaed ctype bindings and an update daemon thread.