added config.js and refactor twitterbot,redditbot,app.js to use the config