refactored interfaces to provide better reports (with summaries)
fixed some tests
fixed some tests
code cleanup
code cleanup
issue #27