Added resource dependency & added Slug method

Added resource dependency & added Slug method