split spellcheck file

spellcheck split into a callable system and a machine trainer.