create utils sub package
recontruct cowork codes and add lock support. TODO: ajax need to debug