Xbee wireless relay

Hi, I am trying to build a wirelessly controlled relay by webpage, if you click a button on the site it will turn my relay on. This is my idea for how I would set it up. Arduino with sparkfu xbee series 1 shield, xbee on sparkfun xbee explorer with XCTU and coolterm, relay with transistor since xbee is 3.3v and above could fry it, and the webpage would be on the arduino? Does anyone have any better ways to set it up or better ways to do it? Any code ideas? Thanks so much!

Any advice on how to achieve this?