Added CommandProcessor and included class exceptions.