Implemented Command identification and default command