implements h2 database