Block of improvements.
*Add new library for search.
*Remove unused stuff.
*Minor fixes.