Added encoder classes and thread pools.
Removed datasourcesink.h