add transformable module

now can transform paths, subpaths and directions