Added the slugify helper and started to format the header comments for each function.