added module 'db' and support for H2 database