added in tenacity gem to communicate between mongo and postgres
mongo config
changes to images for primary, created messages model/controller