Completed migration from app.R to server.R/ui.R.
Added preliminary support for time series graphs.