TODO: * book.parent is an array, not a dict - should change it over * need to use ORM for all bal, bsl, etc. seems to be causing race conditions and or 'timeouts' - sorting books on shelf. Up to Dune books --> is there an overarching series needed, and do it :) * if we add a new parent book with sub-books into a series, with parent * book as 'null' sub_book_num, all the sub_books should be added somehow into series - but cant input numbering on parent book, so - don't allow adding parent, use a pop-up saying, add the first-child, and then auto-number from there * remove all non-ORM CRUD: - grep 'insert into' *.py [DONE] - grep 'delete from' *.py [DONE] * consider removing all direct sqls and using ORM properly: - grep 'with db.engine' *.py