Revert "Revert "WORKING SERVER CODE!!!!!""

This reverts commit 8d7572aa991954678699be597e56eb20d9dae8dc.
WORKING SERVER CODE!!!!!