Refactored main interface to work with the new search
Updated git ignore.