finished load_checkpoint and fixed compile errors
error message clarity
added test file with main