Add standalone mode
Add work.mode property
Fix a bug
Add process stop impl