init refactored according to extractor.init and import fixes
adapted to new masks and features