Moved htaccess related code to a separate module. Issue #63