Implement adding a book to this small local Flask reading tracker. Add a title form to the library template and a POST /books route. Strip surrounding whitespace, return 400 for blank titles without inserting anything, bind the title as a SQLite parameter, commit, then redirect to /. Preserve the existing factory and library view. Limit changes to app.py and templates/library.html.
