Up to version 1.20

Refactored and added map function, working on removing dependency on
bbmle in course workflow