Main Batch Server File