Framework for financial applications