generate Author model
add validations for Author model
generate books model
add relationships between book and author models
add validations for Book model
add :author_id indexes for books table
created book and author models