Adding /api/store and /api/search, with tests of others