added capability to pass options to each class/method. Added functionality to automationrequets