Basic implementation of current search box, and refactor.