SD-351 : Server and API support for the Activity stream

Integrated with the base model for activity logging
and added some basic messages.
Should this function be moved to BaseModel?