adds views to the application