created book and author models