heroku config

- update config files to support heroku
- fix some error during integrating heroku