Moved to kobo.client framework, added get-token command, improved rest of the commands