Moved a function definition around to be with its friends.
Made sure that our env variables are there at this point too.
Added a way to mass-add tweets to our DB by passing in an array of them to Tweet.bulk_insert(tweets).
Added two fields to the DB to store our last scanned tweets, both for the user and home timelines.
Used our new markers and bulk insert function to make sure we get as many tweets as we can from a specific user without having to scan the entire timeline if we can avoid it.
We now show the list of tweets we have for the current user, this is roughly the result of user_timeline, but from information from our DB with links to Twitter for the full tweet (since we don't store it).