add basic string interface and search algorithm.