refactoring: react views structure