Ids2 controller refactoring

Refactored the controller classes. 

If a method has been repeated in more than one page controller class, it will now appear in the "ControllerGeneral" class, which each individul class can refer to by sending the event and the "application variable".

Basically, It works just as before, but the code is a bit neater.