Tweaked taffic light structure
Added some automated test for status
Fixed template to use new structure