added regex for operations and json request handling in the Calculator controller