Merge pull request #1 from stanch/master

Improve hfold
using new syntax with values
Update Application.scala
Update Application.scala
A small fix