feat(api): create index.js with public api