Add BPCategory class with instance variables and methods