sets up file structure and moves views into partials and consolidates duplicate models