Complete working solution

This works correctly. The code need to be cleaned up. IE remove
commented out code and place all virtual LED code into a separate
class/class file.