Initial Check-in of code. It works but dies after a period of time, need
to look at why.