models refactored and summary view defined
reorganized import statements