Add ServerManager structure and some application support