Basic draft of protocol is complete Fixes #1