Imports CSV, dict functions, sloppy export feature

The CSV module is used to export. The export function is rather poorly
written and commented, but it's fully functional.
Two dict functions were added: replace_key and remove_keys
The former renames a key, as one would expect. The latter takes any
amount of keys and removes them.