first pass at moving client api to new module
removed repo submodule
migrated list_files to client API
fixed indent
download_files moved to client
moved register_agent to client