Postgres database module added, persistance in db done.