Scanner input

Added the ability to search the database by means of the search bar.
This allows for the scanner input method.