Changed format of main file to .ino, because it is not pure c but in the Arduino format