Refactored the view provider so that it asks the application context for the VaadinView annotation instead of asking the class