Pulled StateTracker into its own stateTracker service with unit tests and app relevant changes. Renamed meta-factory to meta to remain consistent with naming across the app