Saving the basic components, and refactoring the calculations
Showing basic components in the view page