Fixed config for deployment to openshift.
Fixed models.