code refactoring: method that depend on l_obs are in cpp_file_tools
refactor convert_cpp_file: extract method to convert one file based on filename
new method to train net based on filename
refactor delete unused method, add some comment