shortened server constructor