Put more coherence in classes methods.
Modified input args. Added options --training-directory and --fitting-directory.
Modified in accordance qith new code.
Added pdf view.