feat(api): add init method (commented - unfinished)