simplify Program and Transaction and implement memo bricks