categories index action and view. closes #24