> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Project structure and distribution

This page describes the nature of the source code that is provided with
Atoti Market Risk. It explains the various libraries and the MR application.

## Source Code

Atoti Market Risk contains source code (with documentation)
that includes PostProcessors.

<Note>
  **Source Code**

  Source code is provided for the Market Risk-specific libraries and application. Source code is not provided
  for Atoti Server or Atoti UI.
</Note>

Atoti Market Risk contains multiple libraries and an application module:

* **Libraries**: The logic is split along calculation models. The *Common* modules contain code used
  throughout the solution, while *Sensi*, *Market Data*, *VaR*, *PnL*, and *Combined* modules contain code specific to each cube.
  Each library is split into two distinct modules, containing calculation and service logic (*mr-\*-lib*) and configuration code (*mr-\*-config*).
* **Application**: Application module that collects the relevant configuration and builds a full Spring Boot application.

## Maven Project Modules

### Project Structure

Below is a list of all the different Maven modules that form part of Atoti Market Risk.

<Frame>
  <img src="https://mintcdn.com/activeviam/gaoX7QceXzVFVfYn/solutions/market-risk/6.0/images/modules-diagram.png?fit=max&auto=format&n=gaoX7QceXzVFVfYn&q=85&s=a992837a1a6fd8f0cc9c34effe1aa730" alt="" width="1280" height="720" data-path="solutions/market-risk/6.0/images/modules-diagram.png" />
</Frame>

<table><thead><tr><th>Module Name</th><th>Delivery Type</th><th>Description</th></tr></thead><tbody><tr><td>mr-common-lib</td><td>Source Code + JAR</td><td>Contains calculation, service, and constants classes shared between other modules and the application.</td></tr><tr><td>mr-common-config</td><td>Source Code + JAR</td><td>Contains configuration classes shared between other modules and the application.</td></tr><tr><td>mr-sensi-lib</td><td>Source Code + JAR</td><td>Calculation and service classes for Sensitivity functionality.</td></tr><tr><td>mr-sensi-config</td><td>Source Code + JAR</td><td>Configuration classes for the Sensitivity cubes.</td></tr><tr><td>mr-var-lib</td><td>Source Code + JAR</td><td>Calculation and service classes for VaR functionality.</td></tr><tr><td>mr-var-config</td><td>Source Code + JAR</td><td>Configuration classes for the VaR-ES cubes.</td></tr><tr><td>mr-pnl-lib</td><td>Source Code + JAR</td><td>Calculation and service classes for PnL functionality.</td></tr><tr><td>mr-pnl-config</td><td>Source Code + JAR</td><td>Configuration classes for the PnL cubes.</td></tr><tr><td>mr-product-control-config</td><td>Source Code + JAR</td><td>Configuration classes for adding Product Control features to the PnL cubes.</td></tr><tr><td>mr-combined-lib</td><td>Source Code + JAR</td><td>Calculation and service classes for cross-model functionality.</td></tr><tr><td>mr-combined-config</td><td>Source Code + JAR</td><td>Configuration classes for the MRCombined cube.</td></tr><tr><td>mr-application</td><td>Source Code</td><td>Collects module functionality into a single Spring Boot application. Customizations that cannot be done through the provided Spring Bean mechanisms can be included in this module.</td></tr></tbody></table>
