move Server/Adapter to Adapter