cleaned up code, setup to pull tweets from db