initial commit of distributed and fixes to ha
initial status work