Edited NashornEngine.java's way of generating script bindings to encapsulate functions in "namespaces".

Began implementation of Gui by building a bridge between nashorn and swing.