Added Main Life Server Function