Update twitter code to use database for cache, & prefix constants to avoid conflicts.