Added stacker class with proper stacdak algorithm +stuff