Added methods for shortening url and getting click count.