Update ledticker.php

fancy object oriented version