First draft of the configuration parser