Create entity_loader class to build information about the lines and products from csv files. Fix more import errors. Refactor loading and saving functions