Implementing the calculation engine architecture