Fix indentation, Add syncronization, Add Response Code