Autonomic agent monitoring

Remove the main method.