Modularized the View structure