A basic implementation of URL Shortener for Symfony2