Moved coredata classes
Implementing add category function