Extended Version for Assignment 7 with load/save buttons