Refactoring documents controller and views