added processedMessages and messageTemplate models
merging