Added a setup procedure, switched config to use YAML