Breaks up lib classes into separate directories by type.