Moved all excel related code to new views file. Code made more modular.