Improved data structure and post messages through chat - Merge issue #26 issue#27 

Improved data structure and post messages through chat - Merge issue #26 issue#27