removed functions from server.R

loaded library instead