adapted the application for use with postgres database
Merge branch 'feature/postgres'
merged in feature/postgres into master