creating new branch for dm

The branch includes test file (test.py). It works fine if we use the test file (with given lenslet position). However, calling it from main.py still needs parameters from others. Furthermore, the dm function now requires additional parameter (paramsActuator) in order to work.
Question here is: How do I "plug"  a PID controller between calculating the desired mirror positions, and the actual command to the mirror?