1. Fix issue: cannot read malformed encoding file in TimeStat.
2. Add new script used in jenkins job.
 This script can schedule modules to available devices dynamically.