extend to support file pattern groups
fix: load app as hash and find stack app directory.
add trivial spec file.