Update now have a working solution.  however doesnt seem to be working as I imagined?
oops forgot some files
and some more files