I not intended to hijack this thread but i really need to finish this assignment.

My problem now is i don't know how to write the CommandFactory ?

I not asking you all to finish this task for me but at least tell me what wrong or give an example.

A billion thanks to those kind helper.