Shortener
trait is an interface that defines core functions of shortener which is shorter
& taller
.
trait Shortener {
def shorter(url:String)(implicit dbClient : DBClient, tracerInfo: TracerInfo) : String Or BaseException
def taller(short:String)(implicit dbClient : DBClient, tracerInfo: TracerInfo) : String Or BaseException
}