simple wrapper around urllib and sqlite3 for caching url requests