Simple implementation of url shortener to study Node.js