Added support for Memcache and Apc cache
Added schema access methods.
Component auto-initialization and minor fixes and changes.