Added first version of search api.