remove unused type
add exports to Types.hs
add exports to implementation
add vim swapfiles to .gitignore