change the flickr callback url by app.settings.env
add class
add NODE_ENV setting