crate and categories

let's merge this properly