extract slug methods into slugable module, dry out code