refactored activityModel to use constants for action and content type