Improved Summary validation.
Small improvements.
Added Xcode project with unit tests.