add notecategory class

increase category database control class