implement State::WeakEnables
implement State::CalcEnableActions and ActionTable::actions_vector
add command line parser
exit main function if parse failed