Added production config stuff for heroku
added urlparse to the config