Use API to sending the messages

Removed old ConsoleSending
Add API ConsoleSending