started writing communication Protocol

Setting up the pull request now, but do not merge until #4 has been closed