Convert tinyurl module to new framework.