converted Arduino file in .h, added init() class