- Added receiveData function in the client
- Moved some helper functions into a new header