More code cleanup
Added map to front end
Merge branch 'master' of https://github.com/nathanleiby/bayes-thorn