Refactoring to allow support for additional scriptable languages. In this case, Python being added in through Jythohn Java library