Moving lua stuff into implementaiton classes for split use