Implemented Access control class and refactored Link and LinkGenerator classes