Add server's Api, add few function for creating XML