create separate lua class that manages scripts