added cuda setup class