added save and load

Signed-off-by: Kubikx <hp.kuba@atlas.cz>