"Refactored code"

All message operation functionality moved in MessageUtil.java class.