Update commands organisation
Rename files
Handle connection errors
Discover the project directory
Make it possible to override agent names
Fix handling of empty fact responses and diff of new files
Catch exceptions and clean up all threads
Log deployment of new code version
Add api for clearing endpoint names
Fix a corner case bug