Implemented receiver and sender, however synchronization may be buggy. Additionally added serialization test