Added checkpoint logic and prefabs