changed class name. moved actions to json.