Added support for cache handling and made xmlfeed serialisable!  Fixes for session handler!