Changed scale and added processing function and some APIs on the server