search-api: major refactoring of api.
Merge pull request #26 from nribeka/refactoring

search-api: major refactoring of api.
minor fix: adding back create and update method
Merge pull request #27 from nribeka/minor-fix

minor fix: adding back create and update method