changed the structure of the library