Initial setup for variable number of exercises

* Random selection of exercises missing
* HTML for exercises missing
* various bugs needs fixing