Refactored ViewsLoader class.