Added a clone method to AccessGroup
Changed Permissions class into a static reference class, change how permissions are registered