Added loading and saving of blocks