Add script engine, prepare support for more scripting languages