Can now create new threads. Also added new visit model.