First draft of nested states structure. Added draft for authorization service to hint how to check for user's permissions before activating a state