changed the Analyse_data module so it does not need the report object