Refactored the front-end services to consume asynchronous callbacks.