Implement ATM command parsing