Restrict height of the code block.
Separate the code into domain_model and UI layer.