Origin/literate

The complete literate code on that has been implemented and tested on all parts of the protocol.