Added basic functionality for calculating expressions through the service.