organize libraries into a table