Fixed memory leakage!
Changed the way the static variable in the server class is created
and returned, this made the memory leaks go away. Hazzah!