Sequel datasets

Some cleaning, little optimizations and little bug.