Adding new class to manage categories

Signed-off-by: Roshan Bhagat <roshanbhgt@gmail.com>