Creat category class for easy access of data