Add slug module. Closes #2.