small refactoring

method callback for mouse now member of ControlSystem.
variable for picture storing new moved into abstract level in
AlgorithmClass