Dirty OOP script in this time. Ebook library (search), using SQLAlchemy (with sqlite), lxml xpath.