1. revise the message class, add command id and respose id field, add enum for message type
2. write the first version of process manager, unfinished