very basic url shortener with command line interface