updated comments based on code review, replace substring logic with pattern and removed package-info file