refactor server_engines.php

refactor server_engines.php