add domain classes
remove postgres temp, and resolver perm
Update files for postgres and heroku setup
Update for heroku