Added groups option in the config file.
Added getAllPermissions to the manager.
Connected groups with permissions.