added abstract Command and some phpDoc