initial commit. python interation works-ish but only if all constants are set to 1. in the process of writing the js implementation.