First iteration of a spending-analysis project in Scala