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'