reoranize libraries