Restructured the d_control_controller.
Merge pull request #18 from matao/UpdateController

Restructured the d_control_controller.