add support of multithreading to all functions of dataengine
fix pkg