Made some changes to the server

Added a lot of functionality.
Function pointers are a dead end