Refactoring View Initialization