complete refactor data.h, now replies on iterator to access column