Fix bug: now Decoder if trained, before it was not
Change default parameters to values actually used
Two threads instead of two processes