Add functions to write assignment and primitive files
Add UI options to save files