moved the qc functions to the prototype instead of defining them in the controller. This will help with fake 'classical' inheritance. I will try to make this more pretty later.