Initialize start work for encoder.
Refactor the MessageLoader