Headers cleanup

Mainly removing "using namespace" in all .hpp files

Improved compilation process

Fixed a few compilation problems