Reorganized scratchpad.hs imports