incapsulated all config and parsing logic into processor