add parseSlug method, consistently use slug in various methods
v0.2.2