More restructuring

Also intrduced common interfaces to which native (user, role, privilege)
objects, should implement to provide a standard solution.