finished library and added libraryservice