Implemented the short URL functionality

Now when a shortened URL is created there is a random 8 character string
generated and saved in the DB.