adds some uml documentation
moves repetition to own class

* gets rid of repetition_param in database_scheme
* repetition now easily sublclassable