Refactoring and significative changes of Main page
Refactoring and reset tests bug