adding the different parts to the library