Clean up boilerplate using mapM_ and a list of lines
Create a .cabal file
Remove unused mapIDs
Create a parameterized StatementA in order to guarantee fmapping over the references is correct