Added extra functionality (generation of tool_conf.xml, support of several inputs, etc.)