adds new route handling

We should be storing the categories in their own table with id, name.