Extracts the slug creation to its own class