adding initial cut of code and docs from way back