Added: Very unrefined implementation of the protocol

Needs lots of touchups and work, but it functions.