added LuaManager class
got input working