[parser] refactoring halfway, help and exit done