extracted option names to constants
fix bug in required option checking in Table command.