Added basic ranking algorithm
Chain underscore methods
Refactor of search code
Added keyboard input
Refactored search script