All models were written by python script and export global functions for using in javascript.
Control pages were written as html pages served on GCD web server within app. Using javascript to call registered python global functions to control models.