Did a bunch of work on the controller, it's set up correctly aside from the endless loop that it seems to run and then crashes the server, LOL.  If I take out the while statement it seems to do ok.