Initial code for OnlineResourceManager and PresenceProcessor