adding client side command parameter type validation. Also cleaned up param definition