new main

link new view with previous calculation system
still need to be improve