A flexible framework for efficient simulations of elastic and liquid membranes | Synapse