Added Path Class, and one function into it