Replace array syntax from php 5.4 style to =<5.3
Change $config type from stdClass to array or ArrayAccess interface
Add new config exchange options 'exchangeType'