Converted User.pm and User/Preferences/DB.pm to OM and CacheObject.