Functional basic write/read for sdaemon tested and working. TODO: hooking up with C