 
 process.on 'uncaughtException', (err) ->
     console.log 'Uncaught Error!!! : ' + err
-

# Prod config
app.configure 'production', ->
  app.use express.errorHandler()
  
Twitter = new twit {
  consumer_key: process.env.consumer_key,
  consumer_secret: process.env.consumer_secret,


# Temporary storage of tweets
tweets = []

eraseTweets = -> tweets = []

# Clears cache of tweets
setInterval eraseTweets, 5000

# Returns tweets to client
`getTweets = function() {return tweets;}`

