Added category retreival and creation