Add docuents.
Make add tab function.
Revision change tab function.
Add generate panel inner function.
Start refactoring.
Refactored addTest function.