Use controller and settings properties 
instead of local variables + cstors