shifting webapp to purely asynchronous