chore(system_messages): adds system message service and refactors logic

Fixes #2708