added URI fragments on codes, added code categories