Looks like you've got the saving and loading right, but when you move the cubes about with the movit function you're not updating the kubus type values to match, so theyre being saved with the original values all the time.
Also worth pointing out that the x/y/z type variables for the kubus type aren't being defined as floats either!
Also worth pointing out that the x/y/z type variables for the kubus type aren't being defined as floats either!