Using Executor for submitting runnable task

Using Executor for submitting runnable task