creation of an Arduino Q class