added way for restoring menu, created possibility for creating menu nodes