restructured as meteor app