Refactoring view directory tree