Complete url shorten algorithm
Start to write API