add api/server to core