Category IDs + deletions

Category ids found programatically rather than hard-coded.
Some old redundant files deleted