experimenting with SWIG and webserver as UI