Refactored add item functionality.
Merge with Sprint3.
Added initial search functionality.