adding Rights class
Merge pull request #32 from Holywa/editingClasses1

adding Rights class