move permission constants to a separate class (commit: d370c36)
make tab completion for sub commands work properly (commit: 5617467)