Changed where DesiredCapabilities are instantiated

DesiredCapabilities are now set at class level