adds new route handling

So the Post records will just store the id of the category they're under?