Refactored out postgres configuration to its own module.
Updated geaPg to not depend on __appDir.
Created refresh db script.