Bringing in lua interface for models