changed naming of modules and added pie chart