State structure moved to separate file. Cmd poll function moved to separate file.
drwxr-xr-x - pmsm-control
drwxr-xr-x - simple-dc