added class binding to lua