chore(rewrite): use a common pattern for ffwd modules

test(atPath): add tests
WIP