Add code and tests for setup, section and options --repeat, --version
Add test for # repeat