rename server file, and to simple api