initial check in of doc & some bootstrapped code by Paul