Sample app to emulate tinyurl functionality