Added Trinity Protocol, reorganized, fixed loop in stats.sh