API-class minerva and better training
merge