Extract slug module to gem