Actions can now be provided as input arguments. Model can now be saved and loaded (stored in JSON format).