Removed unwanted codes and made relevant changes in Library Entity