refactor piston views
refactored importer and a bit with piston views