made server non threading because that does not make sense in my opinion