Basic url shortening and redirection done.