updated readme
added middleware to enable CORS. other minor refactoring
Merge branch 'master' into db-postgres
added base model class