Add postgres database support

Change-Id: Iab998b5678f6eec1dc68c1c728422fd7742e714d
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>