remove dead code
reorganized intra-prediction reconstruction in encoder
remove 'genstream' test program