- wrote the initial code for the daemon
- simplified the functions for receive and transmit