compilation fix
init database
restrict cmake version requirements due to qt5
create db store