add ngroute
move base and device response