some changes
Included downloading of control paramters and commands.