add command service to proccess command,reduce the complexity in the 
Instructions class