func New(appConfig string) *StateMachine {
	return &StateMachine{newCache(), services.StartService(appConfig)}
}
New creates a StateMachine with the given service application
package app
import (
	"encoding/json"
	"github.com/golang/glog"
	"github.com/heidi-ann/ios/msgs"
	"github.com/heidi-ann/ios/services"
)
type StateMachine struct {
	Cache *Cache
	Store services.Service
}