read flags for configuration from command line, enable initialization of dynamic variables in variable declaration