Added arduino source for the controller