A small learning project on Java - command processor