Add category resources and endpoints

Fix #133