Adapting code to new Mouf2-beta3, adding controller for .htaccess generation