add module export functionality