- Bug fixes
- took care of corner cases
- implemented client

TODO:
- Test and debug code!!