Constantizing some libraries
Major refactoring -- Valgrind