Finish using Postgres as database