Refactored it to support startup files for postgres and to swap out the base