Create Prim module
Delint
Use List over Set to avoid excessive `toList`ing