Added server portions...

Still haven't been able to test, though...
(No doubt it's buggy)