Added app lib.
Added toSlug method.
Change to use util.toSlug().