General description of the code layout: read the section "12. Implementation: let's code" of the main document.