added init method to SpellCheckerCommand class