Refactor all class almost.

Update some documentation. All doc comments all most done. First process to inter ate thru files done it. Remove unwanted files.