Adds database support for sqlite (dev, test) and postgre(prod)