Added Config class with setView() method, to search and set the view to the specified or a default one.