Cleanup of the hardware.i file; Adding .gitignore