Added main processing class.
Added some comments.
All tests green.