refactor toxityChart code so that reading project structure is done by other module and toxityChart is only render the result