Removed old testing example
Global refactoring to use cmake
Removed useless .gitignore's
Removed compiler warning