Added command processing function to handle command prompts mis command process and updated readme