Removed unused header
Reformat of code using clang-format
Fix .gitignore