Properly close statements and result sets
Move Book too separate class
Add simple search