Added proper DB functionality, added book search/addition (note: copies
not handled yet)