Added tutorial stage and various perf tuning