Add client modem state machine
Implement client modem module