Making protected controller functions private
Splitting MessageController into Cli and Php Controllers