Add add book method to library class