Completely restructured server.R

- now all plot are downloadable