Removed RAgent code.
Removed all egacy code.