Refactoring
Calls should start when the connection is opened
Refactoring and agent stds
Refactoring and global stds