implemented save and load function
implemented save and load function
imporved documentation