Add support for imports

Thanks to @maxs15!