Expand import functionality to understand export formats.

TODO:

- [x] Wait for #45
You should configure your editor to run it automatically or run it manually before you commit and address at least the warnings (like unused variables).