moved server_type logic from pyprofile to pymtm