Added checkpoint system for handling current/next checkpoint and goal. AH-248