New Path class

This pull request implements xp-framework/rfc#290