let core depend on indexer-client, so we can move indexer code there