adding /api/search endpoint
Merge pull request #5 from howardjing/api

adding /api/search endpoint