moved css to external file. Wrote introduction. Various other bits of cleanup.