refactor: move business logic from CLI to core library and improve documentation 5a20d88 dystomachina commited on Apr 26