added basic local datastore functionality with json encoding
removed echo echo echoooo....