Added visitor scaffold and fixed API result saving