Initial commit.
Add comments.
Revise references.
Class moved to own file in class dir.