add removeEmpties utility and export all utilities