first finished version of import, some bugfixes in cms