pub fn create_db_and_executor<P: AsRef<Path>>(
    path: P,
    genesis: &Transaction
) -> (Arc<DiemDB>, DbReaderWriter, Executor<DiemVM>, Waypoint)