Initial setup.  First round of modifications

This is not complete.  Threw this up here so that I could use github as a reference for previous versions as there are a lot modifications.