Summary: Add new utils functions for summary
Summary: Created new file for Summarizer

... refactored the input validation and string checks