some fixes for using another db as H2

Hi!

I've made some changes to your module to enable using Postgres as the DB.

Also, I've made some changes to make it comply with the style-guide and removed the example42 dependency.

Thanks for the original!

Ger.