A computational framework for free surface fluid flows accounting for surface tension