adding preview logic

and SaverLoader for exchanging data