replaced parseJSON by pipes-aeson parsing library.
replaced file reading/writing functions by those of pipes-bytestring.
cleanup: removed database code.
fix: dropped io-streams parsing, replaced by pipes-aeson now.
reorganized directory structure.