Category definition for Libraries

mohit, I tried that but ran into problems I describe here:

Could you please look into it and give me a hint?