Minor changes, development checkpoint
Major changes for permission control. Add support PermissionsEx.