add database.yml for heroku
add footer
clean book model
resolve confilict