locallize state routines for ssh based clients
Clean up state ssh wrapper module