use envs port if set
add mongolab mongo instance
cleanup
process file for heroku