Renamed .C files to .ino files and moved the H files from their folder to the main folder.

Made a few code changes so that enums and structs should be declared appropriately.