moved lua initialization to lua utils, added inheritance to  lua defined java funcs