add new library and change structure