Initial Check In from previous development

This is all the code from TFS but it was not compiled just getting were
I left off