Use external "learning" file

Better than embedding it to code.
Free variables to report
Add learning stuff to AE py