First version. To set ideas.
Examples: target code
Small clean-up