create a cabal file.
move files to appropriate folders.
organized into a cabal package.