Begin implementation to read from DB, and added the pg module