move neural net loading to constructor, removed unused stuff