refactored the main thread execution context as a static instance of QueueExecutionContext