mv apache2 funcs to coslib/ add newline normalize class