moved search feature to main.py, added option to books, other minor edits