Ok.
Implemented a polling mechanism in javascript using setTimeout so that we aren't creating long api requests.

Also, made async db calls use database configs from application files (in config)
Merge branch 'master' of https://github.com/euclidjda/simsearch
Testing heroku deployment.
Another attempt to get heroku working.
More iterations on heroku deploy.
testing async api in heroku.
Working on Heroku deployment.