Move the executorFunc map to internal/executors.
- Moved the state implementation to internal/state. - Moved the executors to internal/executors.