Created Restful version of calculate service. Need to refactor front end to point to it.