Seperated views from the main class