Renamed a few things.

ClassPermissions are new RolePermissions, as they only value roles as keys.
ObjectPermissions are dead for now. Changed them to UserPermission to handle class permissions on user level.