configure.ac: lang c++
simplified build
const constexpr; moved some methods from headers to cpp
now I'm happy