Addition of permission's category management

Permission and Category models added, and some few other changes