Adds hibernate + hsqldb database and register.