Advances in lagrangian simulation of free-surface fluid flows and fluid-structure interaction problems