added versioning variables
Moved cached_attribute to database_cached_attribute as its a more accurate name
Fixed names for cached_attribute to database_cached_attribute