fixed compile errors
Updated message socket template/params
changed decoder to full module
changed some objects to modules
updates
cleanup
initial file