minor cleanup of conf parsing, and add decent basic conf file