added some graphs from chartjs.org and clean up and refactor all files