define w.e. from CSV functional (badly) #www

Still many many things to fix so that it works properly