add menu and load/save functions