Wrote TVRage script

Wrote TVrage script from scratch