refactored access control code into two classes
Moving things around
refactoring the access control system