api,app: save plan on create and reading memory and swap configs from it