Fully streamline code, add comments, code fully functioning, dataframes not yet output