separates sanitizer into new class