Back-End for Url Shortener (Scala Dev Test)