Created a new class to represent permission