Added add category functionlity into model