This system will work on web and mobile both. Initially all information of existing compliances will be entered in system with its categories like partnership firm or individual etc. Now for hierarchy system, there will be dynamic system for entity information. In this system, we can define level of new entity in same setup.
For roles and rights, we can assign same while creating new entity in entity master. Even which compliances information is required for him/her, we can assign same at entity creation for the particular user.