Add init command.
Fix a bug process exit before complete running scripts.
Create show and update, and refactoring init.