added category model; minor tweak to author model.