modify category controller, remove a few files