changed the directory structure for libraries