Mastering Contracts - Legal Foundations to Digital Contract Execution