basic API client module and command line tool, implemented users