Updated gitignore to ignore *.o and *.d
Restructuring