the old pull request plus sequential module

I cleaned up the history so that the commits bundle related changes.  Instead of 23 commits, now there are 2, plus one minor commit, grouped according to what they do.  The first commit removes unused imports and does other minor style changes.  The second commit adds in my new work.