Added Slug module to DRY up the code