Class to short urls