A backend C++/Postgres for finance computation