refactor book genres into directive
refactor book cover into directive