Refactored the executor structure and usage. Added initial Oauth executor support.