Add save functionality

Signed-off-by: Kiril Nesenko <knesenko@redhat.com>