First run of complete server code