Some improvements on postgres connection, still long way before I can use it for everything
excluded compiled python files in gitignore