Introduced Postgresql

Delineated the DBHelper for a SQLite and Postgresql version. Now
working on getting the Postgresql working.