Where is Varien_Object?

While battling with the Custom API I tried to locate Varien_Object class, I couldn’t locate it nowhere within the “app” folder, when I looked again at the magento’s root folder I have noticed “lib” folder, bingo, I have found it, also I have found other code used by magento i.e. the image uploader.