add API for handling search requests
Merge branch 'master' of github.com:DevMine/devmine-core