Added server, threaded

Everything works now except for forces