Finished SearchEngine...
Added some smelly code. Need to refactor later.