Added permissions class and permissions confgs