update scala mode, add a redis cli commint mode and update init