list: refactor list books class