adding new resource for book domain and configurating category resource