yap-0.2: yet another prelude - a simplistic refactoring with algebraic classes