Fixed some doc
fixed data strutuce
Added at attribute at while processing messages. Some basic tests