Changed PostgreSQL drivers
Refactored out dependent application to .app file