Changed back gitignore and updated database file to use pg