Added licensing to all the .c and .h files
Improved the .gitignore