#17: Migrated message to standalone module.
#17: inout now uses templates to print out messages.
#17: inout now uses templates to print out messages.
fixed #17: Refactored code to use new template based message and display logic.