[core] Exposes functions of Workload. DB-related functions are moved out, different from YCSB.
temp