Update contracts.md

Added some explanation before the terms, revised the text a bit, added the last chapter