1. Added fastcv test function.
2. Refactored layout by using fragment dialog.