added basic meteor app and ported some logic