Implement base class for search and Add SearchMessages.
Merge pull request #23 from nabetama/search

Implement base class for search and Add SearchMessages.