Move all slave logic in cmd module.
Manage slave status in slave poll. Add send function for some payload lenght.