removing hardcoded configuration references. adding runtime options and configuration parsing.