Backend udpates

Finished the getCategories() function and started an addToMeta()
function.