@senobe: you cannot do what you describe in CC. There is no way to put all the groups below a library name.
However, you can easily do what eschwartz suggests by adding your "library" column to the grouping drawer and using long-press search as described in
this FAQ answer. Long-pressing on a library name will make CC show only books from that library.