implementation of add and get Category