optimize script
create class and implement encapsulation. This fix #34
fix trimming for issues
improve script
Update gemspec to version 1.2.2
Update changelog for version 1.2.2