simple command pattern
implement command pattern
implement command pattern
fix compile error
command pattern works now
reallocte memory by delete