Refactor exception handle
Add url shorten funciton

Shorten the gist URL using git.io