Work on threading.
Server now functions properly.
First working demo.