h to hpp
adapted cmakelists