A simple class for generating your own short URLs