initialising PaintControler and Tool