add genpattern/, pattern generator
add genpatern sub project