updated some cmd
initial completed controller thread