Implemented main functionality based on new configuration system