-add data reader write and Soldiers logic

Signed-off-by: ymsquall <ymsquare@hotmail.com>