Added hibernate support. Created init script for Postgres-based database